﻿package com.morefuntek.mail;

public class Body {
	private StringBuffer b = new StringBuffer();

	public Body() {
		this("");
	}

	public Body(String initial) {
		b = new StringBuffer(initial);
	}

	public void appendWrapLine(int numbers) {
		for (int i = 0; i < numbers; i++) {
			b.append("\r\n");
		}
	}

	public void appendTab(int numbers) {
		for (int i = 0; i < numbers; i++) {
			b.append("\t");
		}
	}

	public void appendSpace(int numbers) {
		for (int i = 0; i < numbers; i++) {
			b.append(" ");
		}
	}

	public void append(Object statement) {
		b.append(statement);
	}

	public String toString() {
		return b.toString();
	}
}
